package com.pds.web.monitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pds.web.monitor.domain.PdsEnvironmentCheck;

import java.util.List;

public interface PdsEnvironmentCheckMapper extends BaseMapper<PdsEnvironmentCheck> {

    /**
     * 新增
     *
     * @param pdsEnvironmentCheck
     * @return
     */
    int addCheck(PdsEnvironmentCheck pdsEnvironmentCheck);

    /**
     * 删除 -- 根据id
     *
     * @param id
     * @return
     */
    int deleteCheck(Long id);

    /**
     * 查询 -- 分页/条件：userId，taskId，checkResult
     *
     * @param pdsEnvironmentCheck
     * @return
     */
    List<PdsEnvironmentCheck> selectCheckList(PdsEnvironmentCheck pdsEnvironmentCheck);
}
